﻿using System;

namespace OrionApplication.OrionLib
{
    public class Client : ClasseBase
    {
        public String FidelCodeBarre { get; set; }
        public Int32 OrionQualiteId { get; set; }
        public String Nom { get; set; }
        public String Prenom { get; set; }
        public String NomPrenom { get { return Nom + ' ' + Prenom; } }
        public String Adresse { get; set; }
        public String CP { get; set; }
        public String Ville { get; set; }
        public String Pays { get; set; }
        public String Mail { get; set; }
        public String Telephone { get; set; }
        public String Portable { get; set; }
        public DateTime? DateNaissance { get; set; }
        public String Commentaire { get; set; }

        public Client()
            : base()
        {
            this.FidelCodeBarre = String.Empty;
            this.OrionQualiteId = 0;
            this.Nom = String.Empty;
            this.Prenom = String.Empty;
            this.Adresse = String.Empty;
            this.CP = String.Empty;
            this.Ville = String.Empty;
            this.Pays = String.Empty;
            this.Mail = String.Empty;
            this.Telephone = String.Empty;
            this.Portable = String.Empty;
            this.Commentaire = String.Empty;
        }
    }
}